const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  userInfo: state => state.user.userInfo,   // 快速获取用户信息
  avatar: state => state.user.userInfo.staffPhoto,
  routes: state => state.primission.routers,  // 快速访问动态路由 
}
export default getters
